package java01;

public class homework05 {
	public static void main(String[] argc){
		for(int i=1;i<=100;i++){
			if ((i%7)==0){
				System.out.println(i);
			}else if((i/10)==7 || (i%10)==7){
				System.out.println(i);
			}
		}
	}
}
